<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
</head>
<body>
<table class="table">
    <th>编号</th>
    <th>商品名称</th>
    <th>店家姓名</th>
    <th>商品图片</th>
    <th>商品状态</th>
    <th>商品排序</th>
    <th>省</th>
    <th>市</th>
    <th>县/区</th>
    <th>操作</th>
    {volist name='data' id='v'}
    <tr>
        <td>{$v.id}</td>
        <td>{$v.name}</td>
        <td>{$v.tname}</td>
        <td><img src="/storage/{$v.img}" width="50"></td>
        <td>{$v.stater}</td>
        <td>{$v.order}</td>
        <td>{$v.province.name}</td>
        <td>{$v.city.name}</td>
        <td>{$v.area.name}</td>
        <td><a href="">删除</a></td>
    </tr>
    {/volist}
</table>
{$data|raw}
</body>
</html>